﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LX.Web.Excel
{
    public class ExcelRow : IExport
    {
        private List<ExcelCell> cells = new List<ExcelCell>();
        private int Row;
        public ExcelRow()
        {

        }

        public ExcelRow(int row)
        {
            this.Row = row;
        }

        public void AddCell(ExcelCell cell)
        {
            cell.Row = Row;
            this.cells.Add(cell);
        }

        public List<ExcelCell> GetExcelRow()
        {
            return cells;
        }
    }
}
